package grabber;

import java.util.regex.Matcher;
import java.util.regex.Pattern;

/**
 * User: Vladimir
 * Date: 15.11.12 Time: 9:08
 */
public class TestRegexp {
    public static void main(String[] args) {
        Pattern pattern = Pattern.compile("\\d+");
        Matcher matcher = pattern.matcher("6 490 Р.");
        while (matcher.find()) {
            System.out.println(matcher.group());
//            matcher.start();
//            matcher.end();
        }
    }
}
